package top.api.service;

import top.api.common.ResUlt;
import top.api.domain.dto.PageDto;
import top.api.domain.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 86191
* @description 针对表【user】的数据库操作Service
* @createDate 2023-12-12 10:55:47
*/
public interface UserService extends IService<User> {
    ResUlt<?> listPage(PageDto pageDto,Integer id,String username);

    ResUlt<?> add(User user);

    ResUlt<?> getOne(Integer id);

    ResUlt<?> delete(List id);

    ResUlt<?> changeUser(User user);

    ResUlt<?> changeStatus(User user);
//    List<User> selectAll();
}
